<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl02_head1">
<meta charset="UTF-8">

<TITLE>	 ${qnpub.title} </TITLE>

<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Cache-Control" content="no-cache">
<META http-equiv="Expires" content="0">
	<link rel="stylesheet" type="text/css" href="${ctxPath}/include/css/themes/bootstrap/easyui.css">
	<link rel="stylesheet" type="text/css" href="${ctxPath}/include/css/themes/color.css">
	<link rel="stylesheet" type="text/css" href="${ctxPath}/include/css/themes/icon.css">
	<script type="text/javascript" src="${ctxPath}/include/js/jquery.min.js"></script>
	<script type="text/javascript" src="${ctxPath}/include/js/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${ctxPath}/include/js/easyui-lang-zh_CN.js"></script>
	<LINK rel="stylesheet" type="text/css" href="${ctxPath}/include/css/qncount.css">
</head> 
<body style='background-color: rgb(176, 224, 250);'>
<div id="container">
<div id="ctl02_header" style="width: 920px; -ms-overflow-x: hidden; background-repeat: repeat-x;">
<div style="display: none;"></div>
</div>
<div>            
<div id="ctl02_wenjuan" style="padding-bottom: 15px; margin-left: 10px;">
        
<div style="margin: 20px 0px; line-height: 28px; padding-left: 20px;">
<div style="text-align: center; padding-top: 10px;">
	<B><SPAN style="font-size: 24px;">${qnpub.title} </SPAN></B>
</div></div>

<!-- 统计表、图 -->
<div style="background: rgb(255, 255, 255); margin: 0px auto; padding: 0px 30px 20px; width: 850px;">
<!-- 各专业选择统计 -->
<div>
<%if (me.role<="2") {%>
<input id="xy">
<a id="sxy" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="height:32px;">查询</a>
<% } %>
<a id="o1_2x" href="#" class="easyui-linkbutton c4" data-options="iconCls:'icon-excel'" style="height:32px;">分专业统计导出到Excel</a>
<a id="o2_2x" href="#" class="easyui-linkbutton c3" data-options="iconCls:'icon-excel'" style="height:32px;">分学院统计导出到Excel</a>
<a id="o3_2x" href="#" class="easyui-linkbutton c1" data-options="iconCls:'icon-excel'" style="height:32px;">分班级统计导出到Excel</a>
</div>
	<table id="dg2" cellpadding="2" ></table>
<script type="text/javascript">
var ksid="${qnpub.id}",xy="";
function loadgrid(){
	$("#dg2").datagrid({
		title:"分专业统计",
		height:550,
		striped:true,border:true,collapsible:false,
		rownumbers:true,singleSelect:true,
		autoRowHeight:false,
		nowrap:true,
		url:"${ctxPath}/qn/doCount2",          	        
        queryParams:{"ksid":ksid,"xy":xy},
		loadMsg:'数据加载中...',
		columns:[[
{title:'学院', field:'xy',width:100,rowspan:2},
{title:'专业', field:'zymc',width:100,rowspan:2},
{title:'p01', colspan:11,width:495},
{title:'p02', colspan:11,width:495},
{title:'p03', colspan:11,width:495},
{title:'p04', colspan:11,width:495},
{title:'p05', colspan:11,width:495},
{title:'p06', colspan:11,width:495},
{title:'p07', colspan:11,width:495},
{title:'p08', colspan:11,width:495},
{title:'p09', colspan:11,width:495},
{title:'p10', colspan:11,width:495},
{title:'p11', colspan:11,width:495},
{title:'p12', colspan:11,width:495},
{title:'p13', colspan:11,width:495},
{title:'p14', colspan:11,width:495},
{title:'p15', colspan:11,width:495},
{title:'p16', colspan:11,width:495},
{title:'p17', colspan:11,width:495},
{title:'p18', colspan:11,width:495},
{title:'p19', colspan:11,width:495},
{title:'p20', colspan:11,width:495},
{title:'p21', colspan:11,width:495},
{title:'p22', colspan:11,width:495},
{title:'p23', colspan:11,width:495},
{title:'p24', colspan:11,width:495},
{title:'p25', colspan:11,width:495},
{title:'p26', colspan:11,width:495},
{title:'p27', colspan:11,width:495},
{title:'p28', colspan:11,width:495},
{title:'p29', colspan:11,width:495}
],
[	
{title:'A', field:'p01A',width:45},
{title:'A(%)', field:'p01A2',width:45},
{title:'B', field:'p01B',width:45},
{title:'B(%)', field:'p01B2',width:45},
{title:'(A+B)(%)', field:'p01BA',width:45},
{title:'C', field:'p01C',width:45},
{title:'C(%)', field:'p01C2',width:45},
{title:'D', field:'p01D',width:45},
{title:'D(%)', field:'p01D2',width:45},
{title:'E', field:'p01E',width:45},
{title:'E(%)', field:'p01E2',width:45},
{title:'A', field:'p02A',width:45},
{title:'A(%)', field:'p02A2',width:45},
{title:'B', field:'p02B',width:45},
{title:'B(%)', field:'p02B2',width:45},
{title:'(A+B)(%)', field:'p02BA',width:45},
{title:'C', field:'p02C',width:45},
{title:'C(%)', field:'p02C2',width:45},
{title:'D', field:'p02D',width:45},
{title:'D(%)', field:'p02D2',width:45},
{title:'E', field:'p02E',width:45},
{title:'E(%)', field:'p02E2',width:45},
{title:'A', field:'p03A',width:45},
{title:'A(%)', field:'p03A2',width:45},
{title:'B', field:'p03B',width:45},
{title:'B(%)', field:'p03B2',width:45},
{title:'(A+B)(%)', field:'p03BA',width:45},
{title:'C', field:'p03C',width:45},
{title:'C(%)', field:'p03C2',width:45},
{title:'D', field:'p03D',width:45},
{title:'D(%)', field:'p03D2',width:45},
{title:'E', field:'p03E',width:45},
{title:'E(%)', field:'p03E2',width:45},
{title:'A', field:'p04A',width:45},
{title:'A(%)', field:'p04A2',width:45},
{title:'B', field:'p04B',width:45},
{title:'B(%)', field:'p04B2',width:45},
{title:'(A+B)(%)', field:'p04BA',width:45},
{title:'C', field:'p04C',width:45},
{title:'C(%)', field:'p04C2',width:45},
{title:'D', field:'p04D',width:45},
{title:'D(%)', field:'p04D2',width:45},
{title:'E', field:'p04E',width:45},
{title:'E(%)', field:'p04E2',width:45},
{title:'A', field:'p05A',width:45},
{title:'A(%)', field:'p05A2',width:45},
{title:'B', field:'p05B',width:45},
{title:'B(%)', field:'p05B2',width:45},
{title:'(A+B)(%)', field:'p05BA',width:45},
{title:'C', field:'p05C',width:45},
{title:'C(%)', field:'p05C2',width:45},
{title:'D', field:'p05D',width:45},
{title:'D(%)', field:'p05D2',width:45},
{title:'E', field:'p05E',width:45},
{title:'E(%)', field:'p05E2',width:45},
{title:'A', field:'p06A',width:45},
{title:'A(%)', field:'p06A2',width:45},
{title:'B', field:'p06B',width:45},
{title:'B(%)', field:'p06B2',width:45},
{title:'(A+B)(%)', field:'p06BA',width:45},
{title:'C', field:'p06C',width:45},
{title:'C(%)', field:'p06C2',width:45},
{title:'D', field:'p06D',width:45},
{title:'D(%)', field:'p06D2',width:45},
{title:'E', field:'p06E',width:45},
{title:'E(%)', field:'p06E2',width:45},
{title:'A', field:'p07A',width:45},
{title:'A(%)', field:'p07A2',width:45},
{title:'B', field:'p07B',width:45},
{title:'B(%)', field:'p07B2',width:45},
{title:'(A+B)(%)', field:'p07BA',width:45},
{title:'C', field:'p07C',width:45},
{title:'C(%)', field:'p07C2',width:45},
{title:'D', field:'p07D',width:45},
{title:'D(%)', field:'p07D2',width:45},
{title:'E', field:'p07E',width:45},
{title:'E(%)', field:'p07E2',width:45},
{title:'A', field:'p08A',width:45},
{title:'A(%)', field:'p08A2',width:45},
{title:'B', field:'p08B',width:45},
{title:'B(%)', field:'p08B2',width:45},
{title:'(A+B)(%)', field:'p08BA',width:45},
{title:'C', field:'p08C',width:45},
{title:'C(%)', field:'p08C2',width:45},
{title:'D', field:'p08D',width:45},
{title:'D(%)', field:'p08D2',width:45},
{title:'E', field:'p08E',width:45},
{title:'E(%)', field:'p08E2',width:45},
{title:'A', field:'p09A',width:45},
{title:'A(%)', field:'p09A2',width:45},
{title:'B', field:'p09B',width:45},
{title:'B(%)', field:'p09B2',width:45},
{title:'(A+B)(%)', field:'p09BA',width:45},
{title:'C', field:'p09C',width:45},
{title:'C(%)', field:'p09C2',width:45},
{title:'D', field:'p09D',width:45},
{title:'D(%)', field:'p09D2',width:45},
{title:'E', field:'p09E',width:45},
{title:'E(%)', field:'p09E2',width:45},
{title:'A', field:'p10A',width:45},
{title:'A(%)', field:'p10A2',width:45},
{title:'B', field:'p10B',width:45},
{title:'B(%)', field:'p10B2',width:45},
{title:'(A+B)(%)', field:'p10BA',width:45},
{title:'C', field:'p10C',width:45},
{title:'C(%)', field:'p10C2',width:45},
{title:'D', field:'p10D',width:45},
{title:'D(%)', field:'p10D2',width:45},
{title:'E', field:'p10E',width:45},
{title:'E(%)', field:'p10E2',width:45},
{title:'A', field:'p11A',width:45},
{title:'A(%)', field:'p11A2',width:45},
{title:'B', field:'p11B',width:45},
{title:'B(%)', field:'p11B2',width:45},
{title:'(A+B)(%)', field:'p11BA',width:45},
{title:'C', field:'p11C',width:45},
{title:'C(%)', field:'p11C2',width:45},
{title:'D', field:'p11D',width:45},
{title:'D(%)', field:'p11D2',width:45},
{title:'E', field:'p11E',width:45},
{title:'E(%)', field:'p11E2',width:45},
{title:'A', field:'p12A',width:45},
{title:'A(%)', field:'p12A2',width:45},
{title:'B', field:'p12B',width:45},
{title:'B(%)', field:'p12B2',width:45},
{title:'(A+B)(%)', field:'p12BA',width:45},
{title:'C', field:'p12C',width:45},
{title:'C(%)', field:'p12C2',width:45},
{title:'D', field:'p12D',width:45},
{title:'D(%)', field:'p12D2',width:45},
{title:'E', field:'p12E',width:45},
{title:'E(%)', field:'p12E2',width:45},
{title:'A', field:'p13A',width:45},
{title:'A(%)', field:'p13A2',width:45},
{title:'B', field:'p13B',width:45},
{title:'B(%)', field:'p13B2',width:45},
{title:'(A+B)(%)', field:'p13BA',width:45},
{title:'C', field:'p13C',width:45},
{title:'C(%)', field:'p13C2',width:45},
{title:'D', field:'p13D',width:45},
{title:'D(%)', field:'p13D2',width:45},
{title:'E', field:'p13E',width:45},
{title:'E(%)', field:'p13E2',width:45},
{title:'A', field:'p14A',width:45},
{title:'A(%)', field:'p14A2',width:45},
{title:'B', field:'p14B',width:45},
{title:'B(%)', field:'p14B2',width:45},
{title:'(A+B)(%)', field:'p14BA',width:45},
{title:'C', field:'p14C',width:45},
{title:'C(%)', field:'p14C2',width:45},
{title:'D', field:'p14D',width:45},
{title:'D(%)', field:'p14D2',width:45},
{title:'E', field:'p14E',width:45},
{title:'E(%)', field:'p14E2',width:45},
{title:'A', field:'p15A',width:45},
{title:'A(%)', field:'p15A2',width:45},
{title:'B', field:'p15B',width:45},
{title:'B(%)', field:'p15B2',width:45},
{title:'(A+B)(%)', field:'p15BA',width:45},
{title:'C', field:'p15C',width:45},
{title:'C(%)', field:'p15C2',width:45},
{title:'D', field:'p15D',width:45},
{title:'D(%)', field:'p15D2',width:45},
{title:'E', field:'p15E',width:45},
{title:'E(%)', field:'p15E2',width:45},
{title:'A', field:'p16A',width:45},
{title:'A(%)', field:'p16A2',width:45},
{title:'B', field:'p16B',width:45},
{title:'B(%)', field:'p16B2',width:45},
{title:'(A+B)(%)', field:'p16BA',width:45},
{title:'C', field:'p16C',width:45},
{title:'C(%)', field:'p16C2',width:45},
{title:'D', field:'p16D',width:45},
{title:'D(%)', field:'p16D2',width:45},
{title:'E', field:'p16E',width:45},
{title:'E(%)', field:'p16E2',width:45},
{title:'A', field:'p17A',width:45},
{title:'A(%)', field:'p17A2',width:45},
{title:'B', field:'p17B',width:45},
{title:'B(%)', field:'p17B2',width:45},
{title:'(A+B)(%)', field:'p17BA',width:45},
{title:'C', field:'p17C',width:45},
{title:'C(%)', field:'p17C2',width:45},
{title:'D', field:'p17D',width:45},
{title:'D(%)', field:'p17D2',width:45},
{title:'E', field:'p17E',width:45},
{title:'E(%)', field:'p17E2',width:45},
{title:'A', field:'p18A',width:45},
{title:'A(%)', field:'p18A2',width:45},
{title:'B', field:'p18B',width:45},
{title:'B(%)', field:'p18B2',width:45},
{title:'(A+B)(%)', field:'p18BA',width:45},
{title:'C', field:'p18C',width:45},
{title:'C(%)', field:'p18C2',width:45},
{title:'D', field:'p18D',width:45},
{title:'D(%)', field:'p18D2',width:45},
{title:'E', field:'p18E',width:45},
{title:'E(%)', field:'p18E2',width:45},
{title:'A', field:'p19A',width:45},
{title:'A(%)', field:'p19A2',width:45},
{title:'B', field:'p19B',width:45},
{title:'B(%)', field:'p19B2',width:45},
{title:'(A+B)(%)', field:'p19BA',width:45},
{title:'C', field:'p19C',width:45},
{title:'C(%)', field:'p19C2',width:45},
{title:'D', field:'p19D',width:45},
{title:'D(%)', field:'p19D2',width:45},
{title:'E', field:'p19E',width:45},
{title:'E(%)', field:'p19E2',width:45},
{title:'A', field:'p20A',width:45},
{title:'A(%)', field:'p20A2',width:45},
{title:'B', field:'p20B',width:45},
{title:'B(%)', field:'p20B2',width:45},
{title:'(A+B)(%)', field:'p20BA',width:45},
{title:'C', field:'p20C',width:45},
{title:'C(%)', field:'p20C2',width:45},
{title:'D', field:'p20D',width:45},
{title:'D(%)', field:'p20D2',width:45},
{title:'E', field:'p20E',width:45},
{title:'E(%)', field:'p20E2',width:45},
{title:'A', field:'p21A',width:45},
{title:'A(%)', field:'p21A2',width:45},
{title:'B', field:'p21B',width:45},
{title:'B(%)', field:'p21B2',width:45},
{title:'(A+B)(%)', field:'p21BA',width:45},
{title:'C', field:'p21C',width:45},
{title:'C(%)', field:'p21C2',width:45},
{title:'D', field:'p21D',width:45},
{title:'D(%)', field:'p21D2',width:45},
{title:'E', field:'p21E',width:45},
{title:'E(%)', field:'p21E2',width:45},
{title:'A', field:'p22A',width:45},
{title:'A(%)', field:'p22A2',width:45},
{title:'B', field:'p22B',width:45},
{title:'B(%)', field:'p22B2',width:45},
{title:'(A+B)(%)', field:'p22BA',width:45},
{title:'C', field:'p22C',width:45},
{title:'C(%)', field:'p22C2',width:45},
{title:'D', field:'p22D',width:45},
{title:'D(%)', field:'p22D2',width:45},
{title:'E', field:'p22E',width:45},
{title:'E(%)', field:'p22E2',width:45},
{title:'A', field:'p23A',width:45},
{title:'A(%)', field:'p23A2',width:45},
{title:'B', field:'p23B',width:45},
{title:'B(%)', field:'p23B2',width:45},
{title:'(A+B)(%)', field:'p23BA',width:45},
{title:'C', field:'p23C',width:45},
{title:'C(%)', field:'p23C2',width:45},
{title:'D', field:'p23D',width:45},
{title:'D(%)', field:'p23D2',width:45},
{title:'E', field:'p23E',width:45},
{title:'E(%)', field:'p23E2',width:45},
{title:'A', field:'p24A',width:45},
{title:'A(%)', field:'p24A2',width:45},
{title:'B', field:'p24B',width:45},
{title:'B(%)', field:'p24B2',width:45},
{title:'(A+B)(%)', field:'p24BA',width:45},
{title:'C', field:'p24C',width:45},
{title:'C(%)', field:'p24C2',width:45},
{title:'D', field:'p24D',width:45},
{title:'D(%)', field:'p24D2',width:45},
{title:'E', field:'p24E',width:45},
{title:'E(%)', field:'p24E2',width:45},
{title:'A', field:'p25A',width:45},
{title:'A(%)', field:'p25A2',width:45},
{title:'B', field:'p25B',width:45},
{title:'B(%)', field:'p25B2',width:45},
{title:'(A+B)(%)', field:'p25BA',width:45},
{title:'C', field:'p25C',width:45},
{title:'C(%)', field:'p25C2',width:45},
{title:'D', field:'p25D',width:45},
{title:'D(%)', field:'p25D2',width:45},
{title:'E', field:'p25E',width:45},
{title:'E(%)', field:'p25E2',width:45},
{title:'A', field:'p26A',width:45},
{title:'A(%)', field:'p26A2',width:45},
{title:'B', field:'p26B',width:45},
{title:'B(%)', field:'p26B2',width:45},
{title:'(A+B)(%)', field:'p26BA',width:45},
{title:'C', field:'p26C',width:45},
{title:'C(%)', field:'p26C2',width:45},
{title:'D', field:'p26D',width:45},
{title:'D(%)', field:'p26D2',width:45},
{title:'E', field:'p26E',width:45},
{title:'E(%)', field:'p26E2',width:45},
{title:'A', field:'p27A',width:45},
{title:'A(%)', field:'p27A2',width:45},
{title:'B', field:'p27B',width:45},
{title:'B(%)', field:'p27B2',width:45},
{title:'(A+B)(%)', field:'p27BA',width:45},
{title:'C', field:'p27C',width:45},
{title:'C(%)', field:'p27C2',width:45},
{title:'D', field:'p27D',width:45},
{title:'D(%)', field:'p27D2',width:45},
{title:'E', field:'p27E',width:45},
{title:'E(%)', field:'p27E2',width:45},
{title:'A', field:'p28A',width:45},
{title:'A(%)', field:'p28A2',width:45},
{title:'B', field:'p28B',width:45},
{title:'B(%)', field:'p28B2',width:45},
{title:'(A+B)(%)', field:'p28BA',width:45},
{title:'C', field:'p28C',width:45},
{title:'C(%)', field:'p28C2',width:45},
{title:'D', field:'p28D',width:45},
{title:'D(%)', field:'p28D2',width:45},
{title:'E', field:'p28E',width:45},
{title:'E(%)', field:'p28E2',width:45},
{title:'A', field:'p29A',width:45},
{title:'A(%)', field:'p29A2',width:45},
{title:'B', field:'p29B',width:45},
{title:'B(%)', field:'p29B2',width:45},
{title:'(A+B)(%)', field:'p29BA',width:45},
{title:'C', field:'p29C',width:45},
{title:'C(%)', field:'p29C2',width:45},
{title:'D', field:'p29D',width:45},
{title:'D(%)', field:'p29D2',width:45},
{title:'E', field:'p29E',width:45},
{title:'E(%)', field:'p29E2',width:45}
]],
onLoadSuccess:function(data){
	$("#loading").hide();   
   	 if(data.total==0){
   		 parent.$.iMessager.show({
   			    title:'系统提示',
   			    msg:'<span style="color:#f00">暂无相关记录。</span>',
   			    timeout:5000,
   			    showType:'slide',
   			    width:500,
   			    height:200,
   			    style:{
   			        right:'',
   			        top:document.body.scrollTop+document.documentElement.scrollTop+70,
   			        bottom:''
   			    }
   			});
   	 }
    }
});
}
function getxy(){
	if($("#xy").length==0){xy="";return;}
	var xy1=$("#xy").combotree("getText");
	xy=(xy1==undefined?"":"'"+xy1+"'");
	if(xy=="'全部'")xy="";
}
$(function(){
	$("#loading").show();
	$("#o1_2x").click(function(){
		getxy();
		location.href="${ctxPath}/qn/countzy2xls?ksid="+ksid+"&xy="+xy+"&sys_random=" + Math.random();
	});
	$("#o2_2x").click(function(){
		getxy();
		location.href="${ctxPath}/qn/countzy22xls?ksid="+ksid+"&xy="+xy+"&sys_random=" + Math.random();
	});
	$("#o3_2x").click(function(){
		location.href="${ctxPath}/qn/countbj2xls?ksid="+ksid+"&sys_random=" + Math.random();
	});
	loadgrid();
})

</script>
<%if (me.role<="2") {%>
<script>

$(function(){
	$("#xy").combotree({
		prompt:"选择学院",
		width:200,
		height:32,
	    url: '${ctxPath}/qn/getXy',
	    queryParams:{"ksid":ksid},
	    required: true,
	    //multiple:true,
	    editable: false,
	    //onlyLeafCheck:true,
	    checkbox:true,
	    lines:true
	});
	$("#sxy").click(function(){
		getxy();
		$("#dg2").datagrid("load",{"ksid":ksid,"xy":xy});
		//loadgrid();
	});
})
</script>
<%}%>
<div class="go" id="divGo"><A title="返回顶部" class="top" onclick="gotop();" href="javascript:void(0);"></A><A 
title="返回底部" class="bottom" onclick="gobottom();" 
href="javascript:void(0);"></A></div>
<div style="clear: both;"></div>
<div style="height: 20px;"></div>

</div>
<div style="clear: both;"></div></div>
</div>
<script type="text/javascript">
function gotop(){
    window.scroll(0,0);
}
 function gobottom(){
    window.scroll(0,99999);
 }
    </script>
    <% include("loading.html"){}%>
</body></html>
